﻿#pragma once
#include "mmConnect_PLC.h"
#include "mmConnect_COM.h"

// CConnect_PLC_Dlg 对话框

class CConnect_PLC_Dlg : public CDialogEx
{
	DECLARE_DYNAMIC(CConnect_PLC_Dlg)

public:
	CConnect_PLC_Dlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CConnect_PLC_Dlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_Connect_PLC };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonConnect();
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedButtonSave();
};

extern CConnect_PLC_Dlg * m_Connect_PLC;
